package com.nanhai.buddhist.college.module.collegebase.convert.accommodationfloor;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.accommodationfloor.vo.*;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.accommodationfloor.AccommodationFloorDO;

/**
 * 楼层 Convert
 *
 * @author AKai
 */
@Mapper
public interface AccommodationFloorConvert {

    AccommodationFloorConvert INSTANCE = Mappers.getMapper(AccommodationFloorConvert.class);

    AccommodationFloorDO convert(AccommodationFloorCreateReqVO bean);

    AccommodationFloorDO convert(AccommodationFloorUpdateReqVO bean);

    AccommodationFloorRespVO convert(AccommodationFloorDO bean);

    List<AccommodationFloorRespVO> convertList(List<AccommodationFloorDO> list);

    PageResult<AccommodationFloorRespVO> convertPage(PageResult<AccommodationFloorDO> page);

    List<AccommodationFloorExcelVO> convertList02(List<AccommodationFloorDO> list);

}
